package com.bluedon.ism.commons.util;

import com.bluedon.ism.commons.service.DistrictService;

import java.util.Collection;
import java.util.Map;
import java.util.Set;

/**   
 *    
 * 地区表辅助类
 *
 */
public class DistrictMapValue implements Map<String, String> {
	
	private DistrictService districtService;

	public DistrictMapValue(DistrictService districtService) {
		super();
		this.districtService = districtService;
	}

	@Override
	public int size() {
		return 0;
	}

	@Override
	public boolean isEmpty() {
		return false;
	}

	@Override
	public boolean containsKey(Object key) {
		return false;
	}

	@Override
	public boolean containsValue(Object value) {
		return false;
	}

	@Override
	public String get(Object key) {
		String code = (String)key;
		return districtService.getDistrictNameByDid(code);
	}

	@Override
	public String put(String key, String value) {
		return null;
	}

	@Override
	public String remove(Object key) {
		return null;
	}

	@Override
	public void putAll(Map<? extends String, ? extends String> m) {
		
	}

	@Override
	public void clear() {
		
	}

	@Override
	public Set<String> keySet() {
		return null;
	}

	@Override
	public Collection<String> values() {
		return null;
	}

	@Override
	public Set<java.util.Map.Entry<String, String>> entrySet() {
		return null;
	}

}
